package com.changgou.goods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import tk.mybatis.spring.annotation.MapperScan;


@SpringBootApplication
@EnableEurekaClient
/**
 * 使用的是tk.mybatis.spring.annotation.MapperScan
 */
@MapperScan(basePackages = {"com.changgou.goods.dao"})
/**
 * @author ysp
 * @date 2021/3/6 23:35
 */
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class,args);
    }
}
